import request from '@/utils/request'

// 转账列表（分页）
export function pageList(query) {
  return request({
    url: '/system/cryptoBill/pageList',
    method: 'get',
    loading: true,
    params: query
  })
}

// 兑换列表（分页）
export function exchangePageList(query) {
  return request({
    url: '/system/cryptoBill/exchange/pageList',
    method: 'get',
    loading: true,
    params: query
  })
}

// 查询提币详情
export function getInfo(id) {
  return request({
    url: '/system/cryptoBill/' + id,
    method: 'get',
    loading: true
  })
}

// 查询兑换详情
export function getExchangeInfo(id) {
  return request({
    url: '/system/cryptoBill/exchange/' + id,
    method: 'get',
    loading: true
  })
}
